<!DOCTYPE HTML>
<html style="width:100%; height:100%; margin:0px; padding:0px" xml:lang="en" lang="en">
  <head>
    <!--
    This HTML page is meant to provide a starting point for testing
    out of a source-tree. It does not require a dojo-amalgamation
    but uses dojo directly from Google's CDN (content delivery networks).
    This page is meant to be served out of a webodf source directory.
    -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <title>Local Editor (CDN)</title>

    <!-- dojo setup: start -->
    <script type="text/javascript">
      var basedir = window.location.pathname;
      basedir = basedir.substr(0, basedir.lastIndexOf("/"));
      dojoConfig = {
        paths: {
          "webodf/editor": basedir,
          "resources": basedir + "/resources"
        }
      }
    </script>

    <link rel="stylesheet" type="text/css"
    href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/resources/dojo.css"/>
    <link rel="stylesheet" type="text/css"
    href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dijit/themes/claro/claro.css"/>
    <link rel="stylesheet" type="text/css"
    href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/layout/resources/ExpandoPane.css"/>
    <link rel="stylesheet"
    href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/widget/ColorPicker/ColorPicker.css"/>

    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"
      data-dojo-config="async: true"></script>
    <!-- dojo setup: end -->

    <!-- editor: start -->
    <link rel="stylesheet" type="text/css" href="wodotexteditor.css"/>
    <script src="webodf.js" type="text/javascript" charset="utf-8"></script>
    <!-- test plugins: start -->
    <script src="bellaplugin.js" type="text/javascript" charset="utf-8"></script>
    <!-- test plugins: end -->
    <script src="wodotexteditor.js" type="text/javascript" charset="utf-8"></script>
    <script src="FileSaver.js" type="text/javascript" charset="utf-8"></script>
    <script src="localfileeditor.js" type="text/javascript" charset="utf-8"></script>
    <!-- editor: end -->
  </head>

  <body style="width:100%; height:100%; margin:0px; padding:0px" onload="createEditor();">
    <div id="editorContainer" style="width:100%; height:100%; margin:0px; padding:0px">
    </div>
  </body>
</html>
